<%= error_messages_for 'podcast' %>

<!--[form:user]-->

<h2>Title</h2>
<p>
   <%= text_field 'podcast', 'title'  %>
</p>

<h2>Body</h2>
<p>
   <%= text_area 'podcast', 'body' %>
</p>

<h2>Tags</h2>
<p>
   <%= text_field 'podcast', 'tag_list' %>
   <div id='podcast_tag_list_auto_complete', class='auto_complete'></div>
   <%= auto_complete_field "podcast_tag_list", :url => {:action => 'auto_complete_for_tag_name'}, :tokens => ',' %>
   <br/><small>Tags are words that describe this post (like a keyword).  For example, a service project for Ridgeview Church might include the tags "Service, Ridgeview, Volunteer". </small>
</p>

<h2>File</h2>
<p>
   <%= file_field 'podcast', 'uploaded_data' %>
</p>

<h2>Author</h2>
<p>
   <% @users = User.find(:all) %>
   <%= collection_select 'podcast', 'author_id', @users, 'id', 'name' %>
</p>

<!--[eoform:user]-->